//
//  BaseCollectionView.m
//  LZMProject
//
//  Created by dllo on 15/11/4.
//  Copyright © 2015年 LZS. All rights reserved.
//

#import "BaseCollectionView.h"

@implementation BaseCollectionView


-(instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout
{
   self =  [super initWithFrame:frame collectionViewLayout:layout];
    
    if (self) {
        
        
        self.backgroundColor = [GetCurrentColor getCurrentColor];
        
        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(ChangeStyleColor:) name:@"ChangeStyle" object:nil];
        
    }
    
    return self;
}







-(void)ChangeStyleColor:(NSNotification *)notification
{
    NSString *str = [notification object];
    
    NSLog(@"%@",str);
    
}





@end
